home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-02-19 | 11.9 KB | 329 lines | [TEXT/ttxt] |
-
-
- INFO-MAC Digest Monday, 15 Feb 1988 Volume 6 : Issue 16
-
- Today's Topics:
- C compilers.
- Sun Driver/Emulator for Mac II
- Request for engineering type CAD/CAM graphics for Mac II
- Tape Backups
- Mac II NTSC
- netbios on appletalk?
- New TTEView class for MacApp?
- Wanted : Date-format changer
- Setting up offscreen pixmaps?
- Printing under LSC
- Contour programs/creating ROMs
- Alphabetizing Icons?
-
-
- ----------------------------------------------------------------------
-
- From: dartvax!eleazar!earleh.UUCP@seismo.css.gov (Earle R. Horton)
- Subject: C compilers.
- Date: 9 Feb 88 17:39:22 GMT
-
-
- There are some applications for which the MPW C compiler is actually
- faster than LightSpeedC. I wrote a printer driver for the Mac, originally
- using LightSpeedC. This requires five separate code resources: a 'DRVR',
- a 'PACK', and three 'PDEF's. In no case is LightSpeedC capable of formatting
- the code resource correctly. The 'DRVR' and 'PACK' came close, but no cigar.
- The development cycle consisted of:
-
- Foreach code resource:
- Compile the code in a separate project to an intermediate
- form.
- Format the code resource header to specifications using
- a C program which I wrote myself.
- Assemble the five formatted code resources using RMaker.
-
- In addition, for specific types of C constructs (i.e. switch statements)
- the compiler would put the code for the switch in front of the code I
- wrote. This means no switch statements could be used, except in the 'DRVR'
- and in the 'PACK'. Any libraries I used could not have names which were
- lexically less than the names of my source files, or they would appear
- before my code header, too. Nearly everything had to be done by hand,
- since there is no batch utility.
-
- When I switched this code over to MPW, and wrote a "makefile" for it,
- the development cycle time and effort went way down. Now all I have to
- do is modify the source where needed, then type "buildprogram daisy"
- (or select the "Build..." menu). Also, all of the steps are done by
- machine, so there is less chance for error in this step. The five code
- resources use a common header file: Try to tell LightSpeedC that!
-
- Now LightSpeedC is great, and it's really nice for applications and desk
- accessories, but there are some cases where using it is an unnecessary test
- of frustration tolerance. Most people, I am sure, would find LightSpeedC
- the better choice, and faster than other systems. For some, however, the
- lack of a batch utility, and LightSpeedC's insistence on putting code in
- your program which you did not write (and have no idea what it does) can
- be a fatal flaw.
-
- --
- *********************************************************************
- *Earle R. Horton, H.B. 8000, Dartmouth College, Hanover, NH 03755 *
- *********************************************************************
-
- ------------------------------
-
- From: thomas@csri.toronto.edu (Thomas Kurfurst)
- Subject: Sun Driver/Emulator for Mac II
- Date: 10 Feb 88 04:54:01 GMT
-
-
- I hope this is not an impossible request but anyhow ...
-
- Does any type of driver/emulator exist which makes it possible to use
- the Sun systems graphics capabilities using the Mac II as a remote
- terminal?
-
- Any and all pointers or info would be greatly appreciated.
-
- Thank You.
-
-
-
- --
-
- ________
-
- Thomas Kurfurst kurfurst@gpu.utcs.toronto.edu (CSnet,UUCP,Bitnet)
- 205 Wineva Road kurfurst@gpu.utcs.toronto.cdn (EANeX.400)
-
- ------------------------------
-
- Date: Wed, 10 Feb 88 08:44 CST
- From: <MWW%TNTECH.BITNET@forsythe.stanford.edu> (Michael W. Wheeler)
- Subject: Request for engineering type CAD/CAM graphics for Mac II
-
- We here at Tennesse Tech are primarily an engineering university
- but for some reason I'm having trouble convincing those
- with the power of the "$$$" that the Mac II can be a good engineering
- tool (We only have one Mac II on campus and it is brand-new). Do anyone
- have any suggestions on what I can do? I thought if I could get some
- good CAD/CAM graphic pictures that I could display for them (since we
- don't have any tools for the Mac II that we do have.) I downloaded
- color-balls from the archives but is there others that haven't been
- uploaded yet that I could get? I've seen some really good ones at some
- Apple demos but that doesn't do me any good since I'm not the one
- that needs convincing of the Mac's potential. The Manufacturing Center
- here is almost ready to purchase 45 Apollos but when one person saw the
- Mac II then he muttered maybe we should get 45 Mac II's instead of the
- 45 Apollos but unfortunatly we don't have any software that would really
- convince him to go with the Mac's instead of the Apollos or at least a
- 50/50 deal. To make things worse Apple volunteered to come give the
- university a demo of the Mac II but it's on Desktop publishing and stuff
- like that... (most people here could care less... this is an engineering
- school) the people here already think that Desktop publishing is the only
- thing that a Mac can do. Any ideas?
-
- Michael W. Wheeler ( Bitnet address: mww@tntech.bitnet )
- Systems Programmer ( 10 VAX/VMS Systems, 2 VAX/Ultrix Systems )
- Tennessee Technological University
- Box 5071
- Cookeville, TN 38505
- (615) 372-3977
-
- ------------------------------
-
- Date: Wed, 10 Feb 1988 16:42 CST
- From: Revised List Processor (1.5m)
- From: <LISTSERV%UIUCVMD.BITNET@forsythe.stanford.edu>
- Subject: Tape Backups
-
- Date: Wed, 10 Feb 88 17:05 EDT
- From: <VAUGHAN@MCOIARC>
- To: info-mac@uiucvmd
-
- What is the world's fastest and most reliable tape backup unit for
- macs? It has to be 100% compatible with Apple's 40 meg tape system.
-
- Apple's numbers don't sound too exciting, 1.25 meg/min = 24 minutes for
- 30 megs of data, Techmar advertises 2.5 meg/min = 12 minutes for 30 meg,
- but these are just estimates. Does anyone have any experience with any
- drives that claim to be faster than the apple tape unit?
-
- Thanks,
-
- Clif Vaughan
- Image Analysis Research Center
- The Medical College of Ohio
- bitnet: vaughan@mcoiarc (419) 381-5448
-
- ------------------------------
-
- Date: Wed, 10 Feb 88 18:12:10 EST
- From: Francis Taylor <narf@gertie>
- Subject: Mac II NTSC
-
- Has anyone made an INIT, or a CDEV, etc. of the NTSC hack that's been
- seen on the net? I'm not up for re-inventing the wheel.
-
- ------------------------------
-
- Date: Wed, 10 Feb 88 18:08:26 PST
- From: Mark Richer <RICHER@SUMEX-AIM.Stanford.EDU>
- Subject: netbios on appletalk?
-
- Does anyone know of a netbios emulation that runs over Appletalk?
-
- Mark
-
- ------------------------------
-
- Date: 11 Feb 88 11:00 +0100
- From: Bj|rn Larsen <x_larsen_b%use.uio.uninett@TOR.nta.no>
- Subject: New TTEView class for MacApp?
-
- I have just started programming in Object Pascal/MacApp after
- programming exclusively in C for the last three years.
-
- For an old-time Simula programmer it feels like coming home.
-
- But I have a problem. (Of _course_ I have a problem. Why else
- would I write this?)
-
- I need to use the new StyleTextEdit features introduced with the
- SE/II. And the version of TTEView I have does noe support these.
- (I have MacApp version 1.1).
-
- Does there exist a newer version of MacApp with the desired
- features? Or have anybody written their own TTEView with
- the appropriate support?
-
- I guess I could start programming myself, but the reason I turned to
- MacApp is that I need to do some quick prototyping. I don't wish to
- spend my time enhancing MacApp itself.
-
- Please mail MacApp code, hints, pointers and words of
- sympathy to the adress below.
-
- Hopefully,
-
- Bjorn Larsen blarsen@ifi.uio.no
- University of Oslo x_larsen_b@use.uio.uninett
- Norway blarsen@norunit.bitnet
-
- ------------------------------
-
- Date: Thu, 11 Feb 88 15:43:54 ECT
- From: FALK%NORUNIT.BITNET@CUNYVM.CUNY.EDU
- Subject: Wanted : Date-format changer
-
- I would like to be able to change date/time formats more simple than using
- ResED. A nice way would be in the control panel.Has anybody written such a util
- ity? (a 'file' like mouse , general, keyboard etc.)
-
- Regards Christian.
-
- ------------------------------
-
- Date: Thu 11 Feb 88 11:26:05-PST
- From: Brodie Lockard <I.ISIMO@HAMLET.STANFORD.EDU>
- Subject: Setting up offscreen pixmaps?
-
- I'm trying to set up some offscreen pixmaps for CopyBitsing
- as part of dragging an image around on the screen. This works
- fine if all the animation is done with regular windows, but
- when I try to put stuff offscreen I end up CopyBitsing (black and
- white) garbage. I converted a working version of offscreen bitmap
- animation to use pixmaps, multiplying by 8 the values that are passed
- into ITSSIZE and ITSROWWIDTH below (for 8-bit color). Here's the
- routine that's probably at fault. What am I missing?
-
- PROCEDURE Setup_PixMap(VAR IT : CGrafPtr;
- VAR ITSPIXMAPHANDLE : PixMapHandle;
- VAR ITSPIXIMAGE : Ptr;
- ITSSIZE : longint;
- ITSROWWIDTH, ITSWIDTH, ITSHEIGHT : integer);
- BEGIN {Setup_PixMap}
- IT := CGrafPtr(NewPtr(SizeOf(cGrafPort)));
- IF IT = NIL THEN No_Memory_Bail;
- ITSPIXIMAGE := NewPtr(ITSSIZE); {allocate space for pixmap}
- IF ITSPIXIMAGE = NIL THEN No_Memory_Bail;
- ITSPIXMAPHANDLE := NewPixMap;
- IF ITSPIXMAPHANDLE = NIL THEN No_Memory_Bail;
- HLock(Handle(ITSPIXMAPHANDLE));
- ITSPIXMAPHANDLE^^.pixelSize := 8; {needed?}
- ITSPIXMAPHANDLE^^.pmTable := GetCTable(999);
- ITSPIXMAPHANDLE^^.baseAddr := ITSPIXIMAGE; {point to already-allocated bit im
- age}
- ITSPIXMAPHANDLE^^.rowBytes := ITSROWWIDTH; {set up row width}
- SetRect(ITSPIXMAPHANDLE^^.bounds, 0, 0, ITSWIDTH, ITSHEIGHT); {set up pixmap'
- s boundary rect}
- OpenCPort(IT); {set port to offscreen pixmap and init it}
- SetPort(WindowPtr(IT)); {needed?}
- SetPortPix(ITSPIXMAPHANDLE); {set IT^.portPixMap = ITSPIXMAPHANDLE}
- IT^.portRect := ITSPIXMAPHANDLE^^.bounds;
- RectRgn(IT^.visRgn, IT^.portRect); {change visRgn so whole image is drawn}
- HUnlock(Handle(ITSPIXMAPHANDLE));
- END; {Setup_PixMap}
-
- This is in LightSpeed 1.11A on a 5-meg machine with a Spectrum card
- and monitor. Any help is appreciated.
-
- Brodie Lockard
- I.ISIMO@HAMLET.STANFORD.EDU
-
- ------------------------------
-
- Date: Thu, 11 Feb 88 15:30:10 EST
- From: "William E. Williams"
- From: <BSQUARE%YALEVM.BITNET@forsythe.stanford.edu>
- Subject: Printing under LSC
-
- New Lightspeed-C-user question: is there a simple way to print from an LSC
- program? I mean really PRINT, not display stuff on the screen. I'm used to
- the predefined file "printer" under Turbo-Pascal. Is there something similar?
- A simple way to redefine the standard output device, mebbe?
-
- B2
-
- ------------------------------
-
- Date: Thu, 11 Feb 88 11:03:25 PST
- From: dfs059@Mipl3.JPL.Nasa.Gov
- Subject: Contour programs/creating ROMs
-
- I have two requests from my father.
-
- 1. He is looking for any general purpose contouring programs. He creates
- documents in MacDraft, and has data which he would like to have turned
- into a nice contour plot which he could overlay on his MacDraft drawing.
-
- 2. He is putting a board with a Motorola 68000 on it into some electronic
- equipment he has, and is looking for a 68000 assembler/cross assembler
- which he could run on his Mac+ to write code for this board. The catch
- is that he would like the output to be something which he could then
- bring to someone to have ROMs made for this board.
-
- Any info on anything even remotely resembling these things would be
- greatly appreciated.
-
- Dan Stanfill NASA/JPL Multimission Image Processing Lab
-
- Arpa: dfs059@mipl3.jpl.nasa.gov
- SPAN: mipl3::dfs059
-
- ------------------------------
-
- Date: Thu, 11 Feb 88 13:19:57 PST
- From: Steve Dennett <DENNETT@SRI-NIC.ARPA>
- Subject: Alphabetizing Icons?
-
-
- Does anyone know of a way to get the icons to line up alphabetically
- by file name when the <option><Clean Up> selection is chosen? I'd
- like to be able to do this in both large and small icon modes.
- Thanks.
-
- Steve Dennett
- dennett@sri-nic.arpa
-
- ------------------------------
-
- End of INFO-MAC Digest
- **********************
-